package com.huizhan.web.model;

import javax.persistence.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.util.Date;

/**
 * @Description 展商 
 * @Author  yanluping@outlook.com
 * @Date 2020-02-14 18:16:03 
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Entity
@ApiModel(value =  "展商")
@Table ( name ="Exhibitor")
public class Exhibitor  implements Serializable {

	private static final long serialVersionUID =  5465860955964728093L;

	/**
	 * 展商ID
	 */
	@ApiModelProperty(value = "展商ID")
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "Exhibitor_Id" )
	private Long exhibitorId;

	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID")
   	@Column(name = "Project_Id" )
	private String projectId;

	/**
	 * logo
	 */
	@ApiModelProperty(value = "logo")
   	@Column(name = "Logo" )
	private String logo;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
   	@Column(name = "Name" )
	private String name;

	/**
	 * 性别
	 */
	@ApiModelProperty(value = "性别")
   	@Column(name = "Sex" )
	private String sex;

	/**
	 * 公司
	 */
	@ApiModelProperty(value = "公司")
   	@Column(name = "Company" )
	private String company;

	/**
	 * 职务
	 */
	@ApiModelProperty(value = "职务")
   	@Column(name = "Position" )
	private String position;

	/**
	 * 手机
	 */
	@ApiModelProperty(value = "手机")
   	@Column(name = "Phone" )
	private String phone;

	/**
	 * 展位号
	 */
	@ApiModelProperty(value = "展位号")
   	@Column(name = "Booth" )
	private String booth;

	/**
	 * 人数
	 */
	@ApiModelProperty(value = "人数")
   	@Column(name = "Personal" )
	private Long personal;

	/**
	 * 状态：1 未审核、2 已审核、3 已拒绝
	 */
	@ApiModelProperty(value = "状态：1 未审核、2 已审核、3 已拒绝")
   	@Column(name = "State" )
	private Long state;

	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
   	@Column(name = "Remark" )
	private String remark;

	/**
	 * 创建日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "创建日期",example = "2018-10-01 12:18:48")
   	@Column(name = "CreateDate" )
	private Date createDate;

	public Long getExhibitorId() {
		return this.exhibitorId;
	}

	public void setExhibitorId(Long exhibitorId) {
		this.exhibitorId = exhibitorId;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getLogo() {
		return this.logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getBooth() {
		return this.booth;
	}

	public void setBooth(String booth) {
		this.booth = booth;
	}

	public Long getPersonal() {
		return this.personal;
	}

	public void setPersonal(Long personal) {
		this.personal = personal;
	}

	public Long getState() {
		return this.state;
	}

	public void setState(Long state) {
		this.state = state;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "{" +
					"exhibitorId='" + exhibitorId + '\'' +
					"projectId='" + projectId + '\'' +
					"logo='" + logo + '\'' +
					"name='" + name + '\'' +
					"sex='" + sex + '\'' +
					"company='" + company + '\'' +
					"position='" + position + '\'' +
					"phone='" + phone + '\'' +
					"booth='" + booth + '\'' +
					"personal='" + personal + '\'' +
					"state='" + state + '\'' +
					"remark='" + remark + '\'' +
					"createDate='" + createDate + '\'' +
				'}';
	}

}
